package Day1;

import java.util.*;

public class ArrayTest {
    public static void main(String[] args) {
        List list=new ArrayList();
        list.add("cat");
        list.add("dog");
        list.add(0,"mouse");
        for (int i=0;i<list.size();i++){
            System.out.print(list.get(i)+"\t");
        }
        System.out.println(list.contains("car"));
    }
}
